package com.link.base.base.activity.dao.mybatis.mapper;

import com.link.base.base.activity.model.Activitys;
import com.link.base.base.report.model.ActivityReport;
import com.link.core.basic.dao.mapper.BasicMapper;

import java.util.List;

/**
 * Copyright  hande Company. All Rights Reserved.
 *
 * @author  unknwon
 * @date:   2018/11/8 10:12
 * @version 1.0
 */

public interface ActivityMapper extends BasicMapper<Activitys> {
    /**
     * 活动根据‘活动类型’字段做汇总（状态为‘进行中’，‘已结束’）
     * @param a
     * @return
     * @throws Exception
     */
    List<ActivityReport> queryByType(Activitys a) throws Exception;

}
